package com.javasea.web.threadpool;

import com.google.common.util.concurrent.ThreadFactoryBuilder;
import sun.nio.ch.ThreadPool;

import java.util.concurrent.*;

/**
 *@ClassName A
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2022/5/5 0005 14:48
 */
public class A {
    // 通过Guava的ThreadFactoryBuilder创建ThreadFactory
    private static ThreadFactory threadFactory = new ThreadFactoryBuilder().setNameFormat("thread-call-runner-%d").build();

}
